﻿using Common.EventBus.EventBusRabbitMQ;

namespace Common.EventBus.EventBusRabbitMQ.Tests
{
    /// <summary>
    /// 生成端，即用于发送消息的一方
    /// 特别注意：RouteKey要和TestLogEventHandler的QueueSubscribe保持一致
    /// </summary>
    public class TestLogQueueEvent : IQueueEvent<TestLogEvent>, IQueueEvent
    {
        public string ExchangeName { get; set; } = string.Empty;

        public string RouteKey { get; set; } = "test.log";

        public TestLogEvent EventData { get; set; }
    }
}